﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmDuaTituloActualizar.aspx.cs" Inherits="Crosland.Automotriz.Web.Repuestos.wFrmDuaTituloActualizar" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxRoundPanel" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
<script type="text/javascript">


    function pageLoad() {

        var control = document.getElementById('ctl00_cphMain_hfIndicador');
        cambiarImagenHeader();

        if (control.value == 'S') {
            $find('<%= ((AjaxControlToolkit.CollapsiblePanelExtender)this.Master.FindControl("cpeMenuGeneral")).BehaviorID %>')._doClose();

            control.value = 'N';
        }


    }

                

                
               

</script>
<%--<script type="text/javascript">
    function KeyBackspace(keyStroke,obj) {
        isNetscape = (document.layers);
        eventChooser = (isNetscape) ? keyStroke.which : event.keyCode;
        if (eventChooser == 13) {
            return false;
        }
    }
    obj.onkeypress = KeyBackspace;

    document.onkeydown = function () {
        if (window.event && window.event.keyCode == 8) {
            window.event.keyCode = 505;
        }
        if (window.event && window.event.keyCode == 505) {
            return false;
        }

    }


</script>--%>

 <script type="text/javascript">
    // <![CDATA[
     function ShowMsj() {
         popupMsj.Show();
     }
     function ShowMensaje() {
         popupCamposVacios.Show();
     }
     function ShowConfirmacion() {
         popupConfirmacion.Show();
     }

    // ]]> 
    </script>
<script type="text/javascript">
    function soloLetras(e) {
        key = e.keyCode || e.which;
        tecla = String.fromCharCode(key).toLowerCase();
        letras = " áéíóúabcdefghijklmnñopqrstuvwxyz";
        especiales = [];
        tecla_especial = false
        for (var i in especiales) {
            if (key == especiales[i]) {
                tecla_especial = true;
                break;
            }
        }

        if (letras.indexOf(tecla) == -1 && !tecla_especial) {
            return false;
        }
    }
</script>
<script type="text/javascript">
    function soloLetrasNumeros(e) {
        key = e.keyCode || e.which;
        tecla = String.fromCharCode(key).toLowerCase();
        letras = " áéíóúabcdefghijklmnñopqrstuvwxyz1234567890";
        especiales = [];
        tecla_especial = false
        for (var i in especiales) {
            if (key == especiales[i]) {
                tecla_especial = true;
                break;
            }
        }

        if (letras.indexOf(tecla) == -1 && !tecla_especial) {
            return false;
        }
    }
</script>
<div class="main-header" style="width:100%;">
            <div class="main-titulo">
                <dx:ASPxLabel ID="lblEstado" runat="server" Font-Bold="True" Font-Names="Arial" 
                    Font-Size="12pt" Text="Nuevo">
                </dx:ASPxLabel>
&nbsp; Dua Título</div>           
          </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <asp:HiddenField ID="hfIndicador" runat="server" Value="S" />  
          <div>
        <table>
<tr>
<td>
    <dx:ASPxButton ID="btnGrabar" runat="server" Text="Grabar" Width="100px" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        onclick="btnGrabar_Click">
    </dx:ASPxButton>
</td>
<td>
    <dx:ASPxButton ID="btnLimpiar" runat="server" Text="Limpiar" Width="100px" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        onclick="btnLimpiar_Click">
    </dx:ASPxButton>
</td>
<td>
    <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" Width="100px" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        onclick="btnSalir_Click">
    </dx:ASPxButton>
</td>
</tr>
</table>
          
          </div>

          <div class="content-form">
          
          
              <dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" 
                  CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                  CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                  GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" HeaderText="" 
                  SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" View="GroupBox" 
                  Width="500px">
                  <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                      PaddingTop="10px" />
                  <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                      PaddingTop="10px" />
                  <HeaderStyle>
                  <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                      PaddingTop="3px" />
                  <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                      PaddingTop="3px" />
                  </HeaderStyle>
                  <PanelCollection>
                      <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                 

                 <table>
          <tr>
          <td style="width:9%">
              <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Id dua título :" 
                  CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                  CssPostfix="Office2010Blue">
              </dx:ASPxLabel>
          </td>
          <td style="width:20%">
              <dx:ASPxTextBox ID="txtIdDuaTitulo" runat="server" Width="300px" 
                  ClientEnabled="False">
              </dx:ASPxTextBox>
          </td>
          </tr>
                     <tr>
                         <td style="width:9%">
                             &nbsp;</td>
                         <td style="width:20%">
                             &nbsp;</td>
                     </tr>
         <tr>
          <td style="width: 9%">
              <dx:ASPxLabel ID="ASPxLabel2" runat="server" 
                  CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                  CssPostfix="Office2010Blue" Text="Nro. pedido :">
              </dx:ASPxLabel>
          </td>
          <td>
              <dx:ASPxTextBox ID="txtNroPedido" runat="server" MaxLength="20" 
                   Width="300px">
              </dx:ASPxTextBox>
          </td>
          </tr>
                     <tr>
                         <td style="width: 9%">
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
          <tr>
          <td style="width: 9%">
              <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Nro poliza :">
              </dx:ASPxLabel>
          </td>
          <td>
              <dx:ASPxTextBox ID="txtNroPoliza" runat="server" MaxLength="20" 
                  Width="300px">
              </dx:ASPxTextBox>
          </td>
          </tr>
                     <tr>
                         <td style="width: 9%">
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
          <tr>
          <td style="width: 9%">
              <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Fecha :">
              </dx:ASPxLabel>
          </td>
          <td>
              <dx:ASPxDateEdit ID="dteFecha" runat="server" 
                  CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                  CssPostfix="Office2010Blue" Spacing="0" 
                  SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="300px">
                  <CalendarProperties ShowClearButton="False">
                      <HeaderStyle Spacing="1px" />
                  </CalendarProperties>
                  <ButtonStyle Width="13px">
                  </ButtonStyle>
              </dx:ASPxDateEdit>
          </td>
          </tr>
                     <tr>
                         <td style="width: 9%">
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
          <tr>
          <td style="width: 9%">
              <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="Entregado a :">
              </dx:ASPxLabel>
          </td>
          <td>
              <dx:ASPxTextBox ID="txtEntregadoA" runat="server" MaxLength="100" 
                  Width="300px">
              </dx:ASPxTextBox>
          </td>
          </tr>
                     <tr>
                         <td style="width: 9%">
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
          <tr>
          <td style="width: 9%">
              <dx:ASPxLabel ID="ASPxLabel6" runat="server" Text="Fecha entregado :">
              </dx:ASPxLabel>
          </td>
          <td>
              <dx:ASPxDateEdit ID="dteFechaEntregado" runat="server" 
                  CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                  CssPostfix="Office2010Blue" Spacing="0" 
                  SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="300px">
                   <CalendarProperties>
                      <HeaderStyle Spacing="1px" />
                  </CalendarProperties>
                  <ButtonStyle Width="13px">
                  </ButtonStyle>
              </dx:ASPxDateEdit>
          </td>
          </tr>
                     <tr>
                         <td style="width: 9%">
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
          <tr>
          <td style="width: 9%">
              <dx:ASPxLabel ID="ASPxLabel7" runat="server" Text="Título :">
              </dx:ASPxLabel>
          </td>
          <td>
              <dx:ASPxTextBox ID="txtTitulo" runat="server" MaxLength="20" 
                   Width="300px">
              </dx:ASPxTextBox>
          </td>
          </tr>
                     <tr>
                         <td style="width: 9%">
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
          <tr>
          <td style="width: 9%">
              <dx:ASPxLabel ID="ASPxLabel8" runat="server" Text="Fec. Título :">
              </dx:ASPxLabel>
          </td>
          <td>
              <dx:ASPxDateEdit ID="dteFechaTitulo" runat="server" 
                  CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                  CssPostfix="Office2010Blue" Spacing="0" 
                  SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="300px">
                  <CalendarProperties ShowClearButton="False">
                      <HeaderStyle Spacing="1px" />
                  </CalendarProperties>
                  <ButtonStyle Width="13px">
                  </ButtonStyle>
              </dx:ASPxDateEdit>
          </td>
          </tr>
                     <tr>
                         <td style="width: 9%">
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
          <tr>
          <td style="width: 9%">
              <dx:ASPxLabel ID="ASPxLabel9" runat="server" Text="Orden :">
              </dx:ASPxLabel>
          </td>
          <td>
              <dx:ASPxTextBox ID="txtOrden" runat="server" MaxLength="100" 
                   Width="300px">
              </dx:ASPxTextBox>
          </td>
          </tr>
                     <tr>
                         <td style="width: 9%">
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
          <tr>
          <td style="width: 9%">
              <dx:ASPxLabel ID="ASPxLabel10" runat="server" Text="Activo :">
              </dx:ASPxLabel>
          </td>

          <td>
              <dx:ASPxCheckBox ID="chkActivo" runat="server" CheckState="Checked" 
                  Checked="True">
              </dx:ASPxCheckBox>
          </td>

          </tr>

                     <tr>
                         <td style="width: 9%">
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>

          </table>



                      </dx:PanelContent>
                  </PanelCollection>
              </dx:ASPxRoundPanel>
          
          
          </div>
          <dx:ASPxPopupControl ID="popupConfirmacion" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupConfirmacion" CloseAction="None" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
<Paddings Padding="0px"></Paddings>
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
<BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px"></BorderBottom>
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
<Paddings PaddingLeft="10px" PaddingTop="4px" PaddingRight="4px" PaddingBottom="4px"></Paddings>
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel1" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent1" runat="server">
                        <table align="center">
                        <tr>
                        <td colspan="2">
                        
                            &nbsp;<dx:ASPxLabel ID="lblMensaje" runat="server" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue">
                            </dx:ASPxLabel>
                        
                        
                        
                        </td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        
                        </table>
                        <table align="center">
                        <tr>
                        <td align="center">
                        
                            <dx:ASPxButton ID="btnAceptar" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                OnClick="btnAceptar_Click" Width="100px">
<ClientSideEvents Click="function(s, e) {
	popupConfirmacion.Hide();
}"/>
                            </dx:ASPxButton>
                        </td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton5" runat="server" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Text="Cancelar" Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupConfirmacion.Hide();
}" />
                            </dx:ASPxButton>
                        
                        </td>
                        </tr>
                        </table>



                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>

<dx:ASPxPopupControl ID="popupCamposVacios" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupCamposVacios" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
             Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl4" runat="server" SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel5" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent5" runat="server">
                        <table align="center">
                        <tr>
                        <td align="center">
                            <dx:ASPxLabel ID="lblMensajeCamposVacios" runat="server">
                            </dx:ASPxLabel>
                            </td>
                        </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td align="center">
                        
                            <dx:ASPxButton ID="ASPxButton8" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupCamposVacios.Hide();
}" />
                            </dx:ASPxButton>
                        </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>


                <dx:ASPxPopupControl ID="popupMsj" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupMsj" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
             Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl2" runat="server" SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel2" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent2" runat="server">
                        <table align="center">
                        <tr>
                        <td align="center">
                            Rellene los campos requeridos !</td>
                        </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td align="center">
                        
                            <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupMsj.Hide();
}" />
                            </dx:ASPxButton>
                        </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
    
    </ContentTemplate>
    </asp:UpdatePanel>

</asp:Content>
